<?php

/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \frontend\models\SignupForm */

use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
use yii\web\View;

$this->title = '注册';
$this->params['breadcrumbs'][] = $this->title;
$this->registerCssFile("/css/user.css");

?>


<div class="mian_box">
    <div id="login_box">
        <div class="login_left">
            <div id="user_left_id"></div>
        </div>
        <div class="login_right">
            <h4 class="pull-left"><span>没有账号？<a href="/site/signup" target="_blank" id="act_login_register">免费注册</a></span>
                <?= Html::encode($this->title) ?>
            </h4>
            <ul>
                <?php $form = ActiveForm::begin(); ?>
                <li>
                    <span class="input-tip">手机</span>
                    <?=$form->field($model, 'username')->textInput(['autofocus' => true, 'placeholder'=>"手机/邮箱", 'class'=>'login_k', 'id'=>'username'])->label("");?>
                </li>
                <li>
                    <span class="input-tip">密码</span>
                    <?= $form->field($model, 'password')->passwordInput(['placeholder'=>"密码",'class'=>'login_k', 'id'=>'password'])->label(""); ?>
                </li>
                <li class="jizhumima">
                    <label><?php //$form->field($model, 'rememberMe')->checkbox()->label('我已看过并接受《用户协议》'); ?></label>
                </li>
                <li>
                    <?= Html::submitButton('注册', ['id'=>'act_login', 'class' => 'login-btn', 'name' => 'login-button']) ?>
                </li>
                <?php ActiveForm::end(); ?>
            </ul>
            <div class="clear"></div>
        </div>
    </div>
</div>





